package com.hmdp.utils;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class SystemConstants {

    @Value("${system.constants.image-upload-dir}")
    public static String IMAGE_UPLOAD_DIR;

    @Value("${system.constants.user-nick-name-prefix}")
    public static String USER_NICK_NAME_PREFIX;

    @Value("${system.constants.default-page-size}")
    public static int DEFAULT_PAGE_SIZE;

    @Value("${system.constants.max-page-size}")
    public static int MAX_PAGE_SIZE;
}

